feat: emit Eyes boot manifest at startup#138
Merged
Merged
Conversation
Call cja::eyes_manifest::send_boot_manifest once at boot, after the job and cron registries are constructed, so Eyes learns this app's deployed job and cron shape. The cron registry, previously built privately inside run_cron, is now built once in spawn_application_tasks: it is passed by reference to the boot manifest and then moved into run_cron (which now takes the registry as a parameter). The registry is built unconditionally so the manifest reflects the full deployed shape even when CRON is disabled for this process. This is a no-op unless EYES_ORG_ID/EYES_APP_ID are configured. Part of EYES-2459e945. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Emits the Eyes boot manifest once at app startup by calling
cja::eyes_manifest::send_boot_manifest::<jobs::Jobs, AppState>(...)inspawn_application_tasks, after the job and cron registries are constructed. It reports the app version (CARGO_PKG_VERSION), git SHA (VERGEN_GIT_SHA, already wired viaserver/build.rs), and the full cron registry.How
The cron registry was previously built privately inside
cron::run_cron. It is now built once inspawn_application_tasks, passed by reference to the boot manifest, and then moved intorun_cron(which now accepts the registry as a parameter). The registry is built unconditionally so the manifest reflects the full deployed shape even when CRON is disabled for this process.Behavior
No-op unless
EYES_ORG_ID/EYES_APP_IDare configured.cargo checkandcargo clippypass.Part of EYES-2459e945.
🤖 Generated with Claude Code